<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        (function(a,b){
            console.log('这是一个立即执行函数，也是一个匿名函数。')
            console.log('也可以传递参数,结果为：', a+b)
        })(15,20);
    </script>
</head>
<body>
    
</body>
</html>